package com.ruan.entity;

/**
 * @ClassName:Cart
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/6/28 17:41
 **/
public class Cart {
    private Integer id;
    private Integer userId;
    private Integer goodsId;
    private Integer cartCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getCartCount() {
        return cartCount;
    }

    public void setCartCount(Integer cartCount) {
        this.cartCount = cartCount;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id=" + id +
                ", userId=" + userId +
                ", goodsId=" + goodsId +
                ", cartCount=" + cartCount +
                '}';
    }
}
